package org.csu.leiyun.spring.demo.aop.aspectj;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class DemoAspect {
    //execution(访问修饰符，返回值类型，类，方法，参数)
    @Before(value = "execution(* org.csu.leiyun.spring.demo.aop.persistence.*.*(..))")
    public void before(){
        System.out.println("前置建议:安全验证");
    }
}
